﻿



using System; 
using System.Collections;
using System.Collections.Generic ;
using System.Runtime.Serialization;

namespace ufida.u9.ait.openapi
{
	/// <summary>
	/// 资产处置AITDTO DTO :REST自定义的数据传输类型 
	/// 
	/// </summary>
	[DataContract(Namespace = "ufida.u9.ait.openapi")]
	[Serializable]
	public partial class FADisposalAITDTOData  
	{
		/// <summary>
		/// Default Constructor
		/// </summary>
		public FADisposalAITDTOData()
		{
			initData();
		}
		private void initData()
		{
		
		
		
		
		
		

			//调用默认值初始化服务进行配置方式初始化
			UFSoft.UBF.Service.DTOService.InitConfigDefault(this);
		}
		[System.Runtime.Serialization.OnDeserializing]
		internal void OnDeserializing(System.Runtime.Serialization.StreamingContext context)
		{
			 initData();
		}
		#region Do SerializeKey -ForDTODataType
		//只为处理集合型EntityKey。原因集合型EntityKey由于使用臫的集合对象，无法实现数据共享.-UBF专用.
		public void DoSerializeKeyList(IDictionary dict)
		{
			if (dict == null ) dict = new Hashtable() ;
			if (dict[this] != null)
				return ;
			dict[this] = this;
	        			if (this.FA_DisposalDetail!=null)
			{
				foreach(ufida.u9.ait.openapi.FA_DisposalDetailAITDTOData objdata in this.FA_DisposalDetail)
				{
					objdata.DoSerializeKeyList(dict);
				}
			}
				        			if (this.Org != null) 
			{
				this.Org.DoSerializeKeyList(dict);
			}
	        			if (this.DocumentType != null) 
			{
				this.DocumentType.DoSerializeKeyList(dict);
			}
	        	        	        
		}
		#endregion 
		/// <summary>
		/// Constructor Full Argument
		/// </summary>
		public FADisposalAITDTOData(  List<ufida.u9.ait.openapi.FA_DisposalDetailAITDTOData> fA_DisposalDetail  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData org  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData documentType  , System.String docNo  , System.String disposalReson  , System.String businessDate  )
		{
			initData();
			this.FA_DisposalDetail = fA_DisposalDetail;
			this.Org = org;
			this.DocumentType = documentType;
			this.DocNo = docNo;
			this.DisposalReson = disposalReson;
			this.BusinessDate = businessDate;
		}
		#region System Fields 
		//--系统字段,目前没有.EntityData上有相应的字段,用于保存相关的实体状态信息,DTO上没有状态信息.	
		#endregion
		
		#region DTO Properties 
	
		

		/// <summary>
		/// 资产处置变更单行
		/// 资产处置AITDTO.Misc.资产处置变更单行
		/// </summary>
		private List<ufida.u9.ait.openapi.FA_DisposalDetailAITDTOData> m_fA_DisposalDetail ;
		[DataMember(IsRequired=false)]
		public List<ufida.u9.ait.openapi.FA_DisposalDetailAITDTOData> FA_DisposalDetail
		{
			get	
			{	
				if (m_fA_DisposalDetail == null )
				{
					List<ufida.u9.ait.openapi.FA_DisposalDetailAITDTOData> n_m_list = new List<ufida.u9.ait.openapi.FA_DisposalDetailAITDTOData>() ;
					m_fA_DisposalDetail = n_m_list ;
				}
				return m_fA_DisposalDetail ;
			}
			set	
			{	
				m_fA_DisposalDetail = value ;	
			}
		}
			
		

		/// <summary>
		/// 组织
		/// 资产处置AITDTO.Misc.组织
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_org ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData Org
		{
			get	
			{	
				return m_org ;
			}
			set	
			{	
				m_org = value ;	
			}
		}
			
		

		/// <summary>
		/// 单据类型
		/// 资产处置AITDTO.Misc.单据类型
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_documentType ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData DocumentType
		{
			get	
			{	
				return m_documentType ;
			}
			set	
			{	
				m_documentType = value ;	
			}
		}
			
		

		/// <summary>
		/// 单号
		/// 资产处置AITDTO.Misc.单号
		/// </summary>
		private System.String m_docNo ;
		[DataMember(IsRequired=false)]
		public System.String DocNo
		{
			get	
			{	
				return m_docNo ;
			}
			set	
			{	
				m_docNo = value ;	
			}
		}
			
		

		/// <summary>
		/// 处置原因
		/// 资产处置AITDTO.Misc.处置原因
		/// </summary>
		private System.String m_disposalReson ;
		[DataMember(IsRequired=false)]
		public System.String DisposalReson
		{
			get	
			{	
				return m_disposalReson ;
			}
			set	
			{	
				m_disposalReson = value ;	
			}
		}
			
		

		/// <summary>
		/// 业务日期
		/// 资产处置AITDTO.Misc.业务日期
		/// </summary>
		private System.String m_businessDate ;
		[DataMember(IsRequired=false)]
		public System.String BusinessDate
		{
			get	
			{	
				return m_businessDate ;
			}
			set	
			{	
				m_businessDate = value ;	
			}
		}
			
		#endregion	

		#region Multi_Fields
												
		#endregion 
	} 	
}
